package com.wang.hw.hw2;

public class Ship extends Weapon{
    @Override
    public void attack() {
        System.out.println("军舰正在攻击...");
    }

    @Override
    public void move() {
        System.out.println("军舰正在航行中...");
    }
}
